package com.aboo.fusion;

import java.util.ArrayList;
import java.util.List;

import com.aboo.fusion.component.Chart;
import com.aboo.fusion.component.Data;
import com.aboo.fusion.component.Styles;
/**
 * @author Wang
 * @Date 2012-11-19
 * @Desc 添加一Pie3D饼图
 */
public class Pie3D {
	
	private Chart chart;
	private List<Data> data;
	private Styles styles;
	/**
	 * 添加数据
	 * @param e
	 */
	public void addData(Data e) {
		if (data == null) {
			data = new ArrayList<Data>();
		}
		data.add(e);
	}
	
	public Chart getChart() {
		return chart;
	}
	public void setChart(Chart chart) {
		this.chart = chart;
	}
	public List<Data> getData() {
		return data;
	}
	public void setData(List<Data> data) {
		this.data = data;
	}
	public Styles getStyles() {
		return styles;
	}
	public void setStyles(Styles styles) {
		this.styles = styles;
	}
}
